package com.jeesite.modules.digitalize.entity.vo.component;

import com.jeesite.modules.digitalize.entity.DigitalizeComponentVersion;
import lombok.Data;

/**
 * @author patronli
 * @Description: 资源库文件列表
 * @date 2023年09月12日 10:29:22
 */
@Data
public class ComponentVersionVo extends DigitalizeComponentVersion {

    public ComponentVersionVo(DigitalizeComponentVersion version) {
        this.setId(version.getId());
        this.setComponentId(version.getComponentId());
        this.setVersion(version.getVersion());
        this.setFileId(version.getFileId());
        this.setTransitionStatus(version.getTransitionStatus());
        this.setCreateDate(version.getCreateDate());
        this.setUpdateDate(version.getUpdateDate());
        this.setProjectCode(version.getProjectCode());
        this.setFileSource(version.getFileSource());
        this.setFileName(version.getFileName());
    }

}
